package cn.lhl.onetoonezj;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by datou on 2017/2/5.
 */
public class Emp {
    private  int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private int eid;
    private String ename;
    private Dept dept;

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    private Set<Dept> Depts=new HashSet<Dept>();

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Set<Dept> getDepts() {
        return Depts;
    }

    public void setDepts(Set<Dept> depts) {
        Depts = depts;
    }
}
